apiVersion: v1
kind: Service
metadata:
  name: ${svcName}
  namespace: ${namespace}
  annotations:
    kubesphere.io/description: ${kubesphereDescription}
spec:
  selector:
    app: ${svcName}
  type: ClusterIP
  sessionAffinity: None
  sessionAffinityConfig:
    clientIP:
      timeoutSeconds: 10800
  ports:
  - name: web
    protocol: TCP
    port: 80
    targetPort: 80